Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Quaternion Transforms


Q3QuaternionTransform_New

You can use the Q3QuaternionTransform_New function to create a new quaternion transform.

TQ3TransformObject Q3QuaternionTransform_New (
TQ3Quaternion *quaternion);
quaternion
A quaternion.
DESCRIPTION
The Q3QuaternionTransform_New function returns, as its function result, a reference to a new transform object of type kQ3TransformTypeQuaternion using the data passed in the quaternion parameter. The data you pass in the quaternion parameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures, Q3QuaternionTransform_New returns the value NULL.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996